Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 1 - Introduction to QuickDraw GX / The QuickDraw GX Programming Environment


Programming Conventions and Consistencies

The QuickDraw GX programming environment provides many consistent features and conventions to make graphics software development more convenient and more efficient. This section lists some of them.

Object Behavior

Many QuickDraw GX objects have similar features and consistent behavior, in ways such as the following:

Functions and Function Results

QuickDraw GX functions are designed to operate in a consistent manner, as follows:

Function Parameters

When passing parameters to a QuickDraw GX function, you can take advantage of the following design consistencies and conveniences:

Implementation limits
Limits on valid parameter values or on the sizes of structures or behaviors of objects may depend on the current implementation of QuickDraw GX, and may be different from the fundamental limits imposed by the programmatic interface itself. For example, a parameter to a function may be a long, but the range of acceptable values for that parameter may be much smaller than the full range of values that can fit into a long.

Code Naming Conventions

QuickDraw GX uses these naming conventions to provide consistency across the application interface:


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996